<?php foreach($list as $v){?>
    <li class="list-item">
        <div>
            <img src="<?php echo $v['user_head']?>" class="head-img"/>
            <div class="item-text">
                <p class="p1 clearfix">
                    <span class="fl"><?php echo $v['user_name']?></span>
                    <?php if($first){?>
                        <span class="fr" style="color: green">楼主采纳答案</span>
                    <?php }?>
                </p>
                <p class="p2">
                    <?php echo $v['content']?>
                </p>
                <p class="p3">
                    <span class="span1"><?php echo date('Y-m-d H:i:s',$v['add_time'])?></span>
                    <span class="span2">
				</span>
                </p>
            </div>
        </div>
    </li>
<?php }?>
<script>

</script>